package song.demo.service;

import song.demo.bean.UserBean;

import java.util.List;

public interface UserService
{
    UserBean login(String name,String password);
    List<UserBean> getAllUser();
    int insertUser(UserBean userBean);
    int deleteUser(String id);
    UserBean getUserById(String id);
    int updateUser(UserBean userBean);
}
